home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
Tutorial
/
Cookbook
/
03b.events.outlet
/
MyObject.m
< prev
next >
Wrap
Text File
|
1995-06-12
|
371b
|
31 lines
/* Generated by Interface Builder */
#import "MyObject.h"
#import <stdio.h>
@implementation MyObject
- setMyForm:anObject
{
myForm = anObject;
return self;
}
- incrementButton:sender
{
myInt++;
printf("myInt++ = %d\n", myInt);
return self;
}
- decrementButton:sender
{
myInt--;
printf("myInt-- = %d\n", myInt);
return self;
}
@end